﻿using System;
using System.Net;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    public class BusInfo
    {

        /// <summary>
        /// ID
        /// </summary>
        [DataMember]
        public string IMEI { get; set; }

        /// <summary>
        /// the car GPS informationg-- Longitude
        /// </summary>
        [DataMember]
        public double Longitude { get; set; }

        /// <summary>
        /// the car GPS informationg-- Latitude
        /// </summary>
        [DataMember]
        public double Latitude { get; set; }
   
        /// <summary>
        ///  Taxi Infomation  for example  Peugeot、Citroen And color
        /// </summary>
        [DataMember]
        public string BusName { get; set; }

        /// <summary>
        ///  Taxi Infomation  UpdateTime
        /// </summary>
        [DataMember]
        public DateTime UpdateTime { get; set; }


        /// <summary>
        ///  Taxi Infomation  UpdateTime
        /// </summary>
        [DataMember]
        public string  CurrentStation { get; set; }

        /// <summary>
        ///  Taxi Infomation  UpdateTime
        /// </summary>
        [DataMember]
        public string  PreStation { get; set; }

        [DataMember]
        public short Angle { get; set; }

        [DataMember]
        public byte Speed { get; set; }

        [DataMember]
        public byte IsCalling { get; set; }


    }
}
